File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 33 * Copyright © Magento, Inc. All rights reserved.
44 * See COPYING.txt for license details.
55 */
6+ declare (strict_types=1 );
67
78namespace tests \unit \Util ;
89
9- use AspectMock \Test as AspectMock ;
1010use PHPUnit \Framework \TestCase ;
1111
1212/**
1313 * Class MagentoTestCase
1414 */
1515class MagentoTestCase extends TestCase
1616{
17+ /**
18+ * @inheritDoc
19+ */
1720 public static function setUpBeforeClass (): void
1821 {
19- if (!self :: fileExists (DOCS_OUTPUT_DIR )) {
22+ if (!file_exists (DOCS_OUTPUT_DIR )) {
2023 mkdir (DOCS_OUTPUT_DIR , 0755 , true );
2124 }
25+
2226 parent ::setUpBeforeClass ();
2327 }
2428
2529 /**
26- * Teardown for removing AspectMock Double References
27- * @return void
30+ * @inheritDoc
2831 */
2932 public static function tearDownAfterClass (): void
3033 {
31- AspectMock::clean ();
3234 array_map ('unlink ' , glob (DOCS_OUTPUT_DIR . DIRECTORY_SEPARATOR . "* " ));
35+
3336 if (file_exists (DOCS_OUTPUT_DIR )) {
3437 rmdir (DOCS_OUTPUT_DIR );
3538 }
You can’t perform that action at this time.
0 commit comments