~ubuntu-branches/ubuntu/trusty/php-codesniffer/trusty

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.3.4/CodeSniffer/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.inc

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2013-07-12 15:16:25 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130712151625-4autdc0twzbueha9
Tags: 1.5.0~rc2-1
* New upstream release.
* Refreshed patch.
* Standards-Version is now 3.9.4.
* Canonical VCS URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
class Foo {
4
 
    public final $FOOBAR = 23;
5
 
    protected final $FOO = 42;
6
 
    private final $BAR = 17;    
7
 
}
8
 
 
9
 
final class Foo_Bar {
10
 
    public $foobar;
11
 
    public final $FOOBAR = 23;
12
 
    
13
 
    protected $foo;
14
 
    protected final $FOO = 42;
15
 
    
16
 
    private $bar;
17
 
    private final $BAR = 17;
18
 
}
19
 
 
20
 
final class Bar_Foo {
21
 
    public $foobar;
22
 
    protected $foo;
23
 
    private $bar;    
24
 
}
 
 
b'\\ No newline at end of file'