~ubuntu-branches/ubuntu/utopic/php-codesniffer/utopic-proposed

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-1.5.0RC2/CodeSniffer/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.1.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
 
namespace MyProject;
3
 
 
4
 
use BarClass as Bar;
5
 
use My\Full\Classname as Another;
6
 
 
7
 
 
8
 
use Something;
9
 
use SomethingElse;
10
 
 
11
 
// Comment here.
12
 
use LastThing;
13
 
 
14
 
class Foo {
15
 
}
16
 
 
17
 
$var = new MyClass(
18
 
    function () use ($foo, $bar) {
19
 
        return true;
20
 
    }
21
 
);
22
 
 
23
 
class Container extends Component implements IContainer
24
 
{
25
 
    use TContainer;
26
 
}