浏览代码

Fix for 3.6 support.

mscherer 7 年之前
父节点
当前提交
798600aaa4
共有 2 个文件被更改,包括 10 次插入7 次删除
  1. 2 2
      README.md
  2. 8 5
      phpunit.xml.dist

+ 2 - 2
README.md

@@ -7,11 +7,11 @@
 [![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-tools/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-tools)
 [![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)
 
-A CakePHP 3.x plugin containing several useful tools that can be used in many projects.
+A CakePHP plugin containing several useful tools that can be used in many projects.
 
 ## Version notice
 
-This master branch only works for **CakePHP3.x** - please use the 2.x branch for CakePHP 2.x!
+This master branch only works for **CakePHP 3.5+** - please use the 2.x branch for CakePHP 2.x!
 
 ## What is this plugin for?
 

+ 8 - 5
phpunit.xml.dist

@@ -10,10 +10,13 @@
 	<php>
 		<ini name="memory_limit" value="-1"/>
 		<ini name="apc.enable_cli" value="1"/>
+		<!-- E_ALL => 32767 -->
+		<!-- E_ALL & ~E_USER_DEPRECATED => 16383 -->
+		<ini name="error_reporting" value="16383"/>
 	</php>
 	<testsuites>
 		<testsuite name="tools">
-			<directory>./tests/</directory>
+			<directory>tests/</directory>
 		</testsuite>
 	</testsuites>
 		<listeners>
@@ -25,14 +28,14 @@
 	</listeners>
 	<filter>
 		<whitelist>
-			<directory suffix=".php">./src</directory>
+			<directory suffix=".php">src/</directory>
 			<exclude>
-				<file>./src/Utility/Set.php</file>
-				<file>./src/Utility/Multibyte.php</file>
+				<file>src/Utility/Set.php</file>
+				<file>src/Utility/Multibyte.php</file>
 			</exclude>
 		</whitelist>
 		<blacklist>
-			<directory suffix=".ctp">./src/Template</directory>
+			<directory suffix=".ctp">src/Template/</directory>
 		</blacklist>
 	</filter>
 </phpunit>