Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
composer-phpcodesniffer-standards-plugin
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Daniel Siepmann
composer-phpcodesniffer-standards-plugin
Commits
915cc620
Commit
915cc620
authored
7 years ago
by
Daniel Hürtgen
Browse files
Options
Downloads
Patches
Plain Diff
BUGFIX: Fix factory test to be compatible with php <= 5.4
parent
9952aa3d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/PHPCodeSniffer/Standards/Higidi/ComposerPhpCSStandardsPlugin/Tests/PHPCodeSniffer/Standards/FactoryTest.php
+1
-2
1 addition, 2 deletions
...ardsPlugin/Tests/PHPCodeSniffer/Standards/FactoryTest.php
with
1 addition
and
2 deletions
tests/src/PHPCodeSniffer/Standards/Higidi/ComposerPhpCSStandardsPlugin/Tests/PHPCodeSniffer/Standards/FactoryTest.php
+
1
−
2
View file @
915cc620
...
...
@@ -21,7 +21,6 @@ namespace Higidi\ComposerPhpCSStandardsPlugin\Tests\PHPCodeSniffer\Standards;
* 02110-1301, USA.
*/
use
Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standard
;
use
Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standards\Factory
;
/**
...
...
@@ -50,6 +49,6 @@ class FactoryTest extends \PHPUnit_Framework_TestCase
{
$standard
=
$this
->
fixture
->
create
(
'foo'
);
$this
->
assertInstanceOf
(
Standard
::
class
,
$standard
);
$this
->
assertInstanceOf
(
'Higidi\ComposerPhpCSStandardsPlugin\PHPCodeSniffer\Standard'
,
$standard
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment