Changeset 44645
- Timestamp:
- 01/18/2019 02:14:24 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/composer.json
r44574 r44645 12 12 "require-dev": { 13 13 "dealerdirect/phpcodesniffer-composer-installer": "~0.5.0", 14 "wp-coding-standards/wpcs": "~ 1.2.0"14 "wp-coding-standards/wpcs": "~2.0.0" 15 15 }, 16 16 "scripts": { -
trunk/composer.lock
r44574 r44645 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": "c 3625c9fc2ce3a44cad41a64f258bafd",7 "content-hash": "c7426ffeca8db395605e43bccf174b02", 8 8 "packages": [], 9 9 "packages-dev": [ … … 127 127 { 128 128 "name": "wp-coding-standards/wpcs", 129 "version": " 1.2.1",129 "version": "2.0.0", 130 130 "source": { 131 131 "type": "git", 132 132 "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", 133 "reference": " f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c"133 "reference": "c9eaadaafefce36b3cb7e06eb15305b8c4cae9ce" 134 134 }, 135 135 "dist": { 136 136 "type": "zip", 137 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/ f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c",138 "reference": " f328bcafd97377e8e5e5d7b244d5ddbf301a3a5c",137 "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/c9eaadaafefce36b3cb7e06eb15305b8c4cae9ce", 138 "reference": "c9eaadaafefce36b3cb7e06eb15305b8c4cae9ce", 139 139 "shasum": "" 140 140 }, 141 141 "require": { 142 "php": ">=5. 3",143 "squizlabs/php_codesniffer": "^ 2.9.0 || ^3.0.2"142 "php": ">=5.4", 143 "squizlabs/php_codesniffer": "^3.3.1" 144 144 }, 145 145 "require-dev": { 146 "phpcompatibility/php-compatibility": "^9.0" 146 "dealerdirect/phpcodesniffer-composer-installer": "^0.5.0", 147 "phpcompatibility/php-compatibility": "^9.0", 148 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 147 149 }, 148 150 "suggest": { … … 166 168 "wordpress" 167 169 ], 168 "time": "201 8-12-18T09:43:51+00:00"170 "time": "2019-01-16T10:13:16+00:00" 169 171 } 170 172 ], -
trunk/tests/phpunit/tests/functions.php
r44573 r44645 8 8 $x = new MockClass; 9 9 $x->_baba = 5; 10 $x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName. NotSnakeCaseMemberVar10 $x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 11 11 $x->a = array( 5, 111, 'x' ); 12 12 $this->assertEquals( … … 44 44 $x = new MockClass; 45 45 $x->_baba = 5; 46 $x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName. NotSnakeCaseMemberVar46 $x->yZ = 'baba'; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 47 47 $x->a = array( 5, 111, 'x' ); 48 48 $d = array( 'pu' => 'bu' ); -
trunk/tests/phpunit/tests/user.php
r44611 r44645 200 200 */ 201 201 public function test_user_unset() { 202 // phpcs:disable WordPress.NamingConventions.ValidVariableName. NotSnakeCaseMemberVar202 // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase 203 203 $user = new WP_User( self::$author_id ); 204 204
Note: See TracChangeset
for help on using the changeset viewer.