���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/suites/LessTestSuite.php
���ѧ٧ѧ�
<?php use MediaWiki\MediaWikiServices; use MediaWiki\ResourceLoader\FileModule; use PHPUnit\Framework\TestSuite; /** * @author Sam Smith <samsmith@wikimedia.org> */ class LessTestSuite extends TestSuite { public function __construct() { parent::__construct(); $resourceLoader = MediaWikiServices::getInstance()->getResourceLoader(); foreach ( $resourceLoader->getModuleNames() as $name ) { $module = $resourceLoader->getModule( $name ); if ( !$module || !$module instanceof FileModule ) { continue; } foreach ( $module->getAllStyleFiles() as $styleFile ) { // TODO (phuedx, 2014-03-19) The FileModule class shouldn't // know how to get a file's extension. if ( $module->getStyleSheetLang( $styleFile ) !== 'less' ) { continue; } $this->addTest( new LessFileCompilationTest( $styleFile, $module ) ); } } } public static function suite() { return new static; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�