Skip to content

Commit 266817e

Browse files
authored
Merge pull request #1188 from gabriel-caruso/phpunit
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2 parents 7b9e262 + ba6c03e commit 266817e

File tree

104 files changed

+104
-104
lines changed

Some content is hidden

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

104 files changed

+104
-104
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"phpoffice/common": "^0.2"
4343
},
4444
"require-dev": {
45-
"phpunit/phpunit": "4.8.*",
45+
"phpunit/phpunit": "^4.8.36",
4646
"phpdocumentor/phpdocumentor":"2.*",
4747
"twig/twig":"1.27",
4848
"squizlabs/php_codesniffer": "^2.7",

tests/PhpWord/Collection/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* Using concrete class Footnotes instead of AbstractCollection
2626
*/
27-
class CollectionTest extends \PHPUnit_Framework_TestCase
27+
class CollectionTest extends \PHPUnit\Framework\TestCase
2828
{
2929
/**
3030
* Test collection

tests/PhpWord/ComplexType/FootnotePropertiesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\FootnoteProperties
2626
* @runTestsInSeparateProcesses
2727
*/
28-
class FootnotePropertiesTest extends \PHPUnit_Framework_TestCase
28+
class FootnotePropertiesTest extends \PHPUnit\Framework\TestCase
2929
{
3030
/**
3131
* Test setting style with normal value

tests/PhpWord/ComplexType/ProofStateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\ProofState
2424
*/
25-
class ProofStateTest extends \PHPUnit_Framework_TestCase
25+
class ProofStateTest extends \PHPUnit\Framework\TestCase
2626
{
2727
/**
2828
* Tests the getters and setters

tests/PhpWord/Element/AbstractElementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Test class for PhpOffice\PhpWord\Element\AbstractElement
2222
*/
23-
class AbstractElementTest extends \PHPUnit_Framework_TestCase
23+
class AbstractElementTest extends \PHPUnit\Framework\TestCase
2424
{
2525
/**
2626
* Test set/get element index

tests/PhpWord/Element/BookmarkTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @runTestsInSeparateProcesses
2424
*/
25-
class BookmarkTest extends \PHPUnit_Framework_TestCase
25+
class BookmarkTest extends \PHPUnit\Framework\TestCase
2626
{
2727
/**
2828
* New instance

tests/PhpWord/Element/CellTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @runTestsInSeparateProcesses
2424
*/
25-
class CellTest extends \PHPUnit_Framework_TestCase
25+
class CellTest extends \PHPUnit\Framework\TestCase
2626
{
2727
/**
2828
* New instance

tests/PhpWord/Element/CheckBoxTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @runTestsInSeparateProcesses
2727
*/
28-
class CheckBoxTest extends \PHPUnit_Framework_TestCase
28+
class CheckBoxTest extends \PHPUnit\Framework\TestCase
2929
{
3030
/**
3131
* Construct

tests/PhpWord/Element/CommentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @runTestsInSeparateProcesses
2424
*/
25-
class CommentTest extends \PHPUnit_Framework_TestCase
25+
class CommentTest extends \PHPUnit\Framework\TestCase
2626
{
2727
/**
2828
* New instance

tests/PhpWord/Element/FieldTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @runTestsInSeparateProcesses
2424
*/
25-
class FieldTest extends \PHPUnit_Framework_TestCase
25+
class FieldTest extends \PHPUnit\Framework\TestCase
2626
{
2727
/**
2828
* New instance

0 commit comments

Comments
 (0)