~ubuntu-branches/ubuntu/wily/php-codesniffer/wily

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): David Prévot
  • Date: 2014-07-21 14:42:41 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140721144241-g4orlcuk4jzn9mhs
Tags: 1.5.3-1
* Team upload
* Focus on stable release
* Update copyright
* Bump standards version to 3.9.5
* Update Homepage
* Use ${phppear:…} instead of hardcoding them
* Run tests in dh_auto_test
* Update patch with gbp pq
* Simplify configuration installation
* Edit package.xml to move script
* Add DEP-8 tests

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'