Skip to content

Commit f69a3f8

Browse files
authored
test: Move the spec framework into a dedicated directory (#1003)
1 parent a070bde commit f69a3f8

File tree

182 files changed

+304
-297
lines changed

Some content is hidden

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

182 files changed

+304
-297
lines changed

specs/binary/simple.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
1616

1717
return [
1818
'meta' => new Meta(

specs/class-const/global-scope-single-level-with-single-level-use-statement-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/global-scope-single-level-with-single-level-use-statement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/global-scope-single-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/global-scope-two-level-with-single-level-use-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/global-scope-two-level-with-single-level-use.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/global-scope-two-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-scope-single-level-with-single-level-use-statement-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-scope-single-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-scope-two-level-with-single-level-use-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-scope-two-level-with-single-level-use.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-scope-two-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-const/namespace-single-part-with-single-level-use-statement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-single-level-with-single-level-use-statement-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-single-level-with-single-level-use-statement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-single-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-two-level-with-single-level-use-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-two-level-with-single-level-use.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/global-scope-two-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-scope-single-level-with-single-level-use-statement-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-scope-single-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-scope-two-level-with-single-level-use-and-alias.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-scope-two-level-with-single-level-use.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-scope-two-level.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class-static-prop/namespace-single-part-with-single-level-use-statement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/abstract.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/anonymous.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/concrete.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/conditional.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/final.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/inheritance.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/interface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/nested-declarations.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
1616

1717
return [
1818
'meta' => new Meta(

specs/class/readonly.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/trait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

specs/class/typed-properties.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* file that was distributed with this source code.
1313
*/
1414

15-
use Humbug\PhpScoper\Scoper\Spec\Meta;
16-
use Humbug\PhpScoper\Scoper\Spec\SpecWithConfig;
15+
use Humbug\PhpScoper\SpecFramework\Config\Meta;
16+
use Humbug\PhpScoper\SpecFramework\Config\SpecWithConfig;
1717

1818
return [
1919
'meta' => new Meta(

0 commit comments

Comments
 (0)