Skip to content

Commit 8bab3e0

Browse files
dantleechdbu
authored andcommitted
Switched back to inc/ for BC
1 parent 8c0458d commit 8bab3e0

File tree

83 files changed

+282
-283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+282
-283
lines changed

.php_cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$header = <<<EOF
44
This file is part of the PHPCR API Tests package
55
6-
Copyright (c) 2013 Liip and others
6+
Copyright (c) 2015 Liip and others
77
88
For the full copyright and license information, please view the LICENSE
99
file that was distributed with this source code.
@@ -17,7 +17,6 @@ return Symfony\CS\Config\Config::create()
1717
'-psr0',
1818
'psr4',
1919
'symfony',
20-
'concat_with_spaces',
2120
'concat_without_spaces',
2221
'-phpdoc_indent',
2322
'-phpdoc_params',

bootstrap.dist.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -49,11 +49,11 @@
4949
* you can do things here like registering your autoloader
5050
* or require files with classes that are used but not autoloaded
5151
*/
52-
require __DIR__ . '/../src/Jackalope/autoloader.php';
52+
require __DIR__.'/../src/Jackalope/autoloader.php';
5353

5454
### Load two classes needed for jackalope unit tests ###
55-
require __DIR__ . '/../tests/Jackalope/TestCase.php';
56-
require __DIR__ . '/../tests/Jackalope/Transport/DoctrineDBAL/DoctrineDBALTestCase.php';
55+
require __DIR__.'/../tests/Jackalope/TestCase.php';
56+
require __DIR__.'/../tests/Jackalope/Transport/DoctrineDBAL/DoctrineDBALTestCase.php';
5757

5858
### Load the implementation loader class ###
5959
require 'ImplementationLoader.php';

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"autoload": {
3434
"psr-4": {
35-
"PHPCR\\Test\\": "lib/",
35+
"PHPCR\\Test\\": "inc/",
3636
"PHPCR\\Tests\\": "tests/"
3737
}
3838
},

lib/AbstractLoader.php renamed to inc/AbstractLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

lib/BaseCase.php renamed to inc/BaseCase.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
@@ -128,14 +128,14 @@ protected function setUp()
128128
$chapter = '';
129129

130130
for ($i = 2; $i < $case_n; $i++) {
131-
$chapter .= $parts[$i] . '\\';
131+
$chapter .= $parts[$i].'\\';
132132
}
133133

134-
$case = $chapter . $case;
135-
$test = "$case::" . $this->getName();
134+
$case = $chapter.$case;
135+
$test = "$case::".$this->getName();
136136

137137
if (!self::$loader->getTestSupported($chapter, $case, $test)) {
138-
$this->markTestSkipped('Test ' . $this->getName() . ' not supported by this implementation');
138+
$this->markTestSkipped('Test '.$this->getName().' not supported by this implementation');
139139
}
140140

141141
$this->sharedFixture = self::$staticSharedFixture;
@@ -277,7 +277,7 @@ protected function assertSimilarDateTime($expected, $data)
277277
$this->assertInstanceOf('\DateTime', $expected);
278278
$this->assertInstanceOf('\DateTime', $data);
279279
$this->assertTrue(abs($expected->getTimestamp() - $data->getTimestamp()) <= 3,
280-
$data->format('c') . ' is not close to the expected ' . $expected->format('c')
280+
$data->format('c').' is not close to the expected '.$expected->format('c')
281281
);
282282
}
283283

@@ -291,7 +291,7 @@ protected function assertSimilarDateTime($expected, $data)
291291
protected function skipIfNotSupported($descriptor)
292292
{
293293
if (false === $this->session->getRepository()->getDescriptor($descriptor)) {
294-
$this->markTestSkipped('Descriptor "' . $descriptor . '" not supported');
294+
$this->markTestSkipped('Descriptor "'.$descriptor.'" not supported');
295295
}
296296

297297
return true;

lib/FixtureLoaderInterface.php renamed to inc/FixtureLoaderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/Connecting/RepositoryDescriptorsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/Connecting/RepositoryFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/Connecting/RepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

tests/Connecting/SessionReadMethodsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the PHPCR API Tests package
55
*
6-
* Copyright (c) 2013 Liip and others
6+
* Copyright (c) 2015 Liip and others
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)