3
3
/*
4
4
* This file is part of the PHPCR API Tests package
5
5
*
6
- * Copyright (c) 2013 Liip and others
6
+ * Copyright (c) 2015 Liip and others
7
7
*
8
8
* For the full copyright and license information, please view the LICENSE
9
9
* file that was distributed with this source code.
@@ -128,14 +128,14 @@ protected function setUp()
128
128
$ chapter = '' ;
129
129
130
130
for ($ i = 2 ; $ i < $ case_n ; $ i ++) {
131
- $ chapter .= $ parts [$ i ] . '\\' ;
131
+ $ chapter .= $ parts [$ i ]. '\\' ;
132
132
}
133
133
134
- $ case = $ chapter . $ case ;
135
- $ test = "$ case:: " . $ this ->getName ();
134
+ $ case = $ chapter. $ case ;
135
+ $ test = "$ case:: " . $ this ->getName ();
136
136
137
137
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 ' );
139
139
}
140
140
141
141
$ this ->sharedFixture = self ::$ staticSharedFixture ;
@@ -277,7 +277,7 @@ protected function assertSimilarDateTime($expected, $data)
277
277
$ this ->assertInstanceOf ('\DateTime ' , $ expected );
278
278
$ this ->assertInstanceOf ('\DateTime ' , $ data );
279
279
$ 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 ' )
281
281
);
282
282
}
283
283
@@ -291,7 +291,7 @@ protected function assertSimilarDateTime($expected, $data)
291
291
protected function skipIfNotSupported ($ descriptor )
292
292
{
293
293
if (false === $ this ->session ->getRepository ()->getDescriptor ($ descriptor )) {
294
- $ this ->markTestSkipped ('Descriptor " ' . $ descriptor . '" not supported ' );
294
+ $ this ->markTestSkipped ('Descriptor " ' . $ descriptor. '" not supported ' );
295
295
}
296
296
297
297
return true ;
0 commit comments