@@ -117,7 +117,7 @@ function get_phpversions() {
117
117
);
118
118
119
119
if ( version_compare ( phpversion (), '5.3 ' , '>= ' ) ) {
120
- $ versions = array ( 'PHP 7.3 ' => '7.3 ' ) + $ versions ;
120
+ $ versions = array ( 'PHP 7.3 ' => '7.3 ' ) + $ versions ;
121
121
}
122
122
123
123
$ old_versions = array ( '5.6 ' , '5.5 ' , '5.4 ' , '5.3 ' );
@@ -203,13 +203,13 @@ public function check_status() {
203
203
$ active_job = false ;
204
204
205
205
$ jobs = get_posts (
206
- array (
207
- 'posts_per_page ' => -1 ,
208
- 'post_type ' => 'wpephpcompat_jobs ' ,
209
- 'orderby ' => 'title ' ,
210
- 'order ' => 'ASC ' ,
211
- )
212
- );
206
+ array (
207
+ 'posts_per_page ' => -1 ,
208
+ 'post_type ' => 'wpephpcompat_jobs ' ,
209
+ 'orderby ' => 'title ' ,
210
+ 'order ' => 'ASC ' ,
211
+ )
212
+ );
213
213
214
214
if ( 0 < count ( $ jobs ) ) {
215
215
$ active_job = $ jobs [0 ]->post_title ;
@@ -311,16 +311,16 @@ public function clean_up() {
311
311
*/
312
312
public function create_job_queue () {
313
313
register_post_type (
314
- 'wpephpcompat_jobs ' ,
315
- array (
316
- 'labels ' => array (
317
- 'name ' => __ ( 'Jobs ' , 'php-compatibility-checker ' ),
318
- 'singular_name ' => __ ( 'Job ' , 'php-compatibility-checker ' ),
319
- ),
320
- 'public ' => false ,
321
- 'has_archive ' => false ,
322
- )
323
- );
314
+ 'wpephpcompat_jobs ' ,
315
+ array (
316
+ 'labels ' => array (
317
+ 'name ' => __ ( 'Jobs ' , 'php-compatibility-checker ' ),
318
+ 'singular_name ' => __ ( 'Job ' , 'php-compatibility-checker ' ),
319
+ ),
320
+ 'public ' => false ,
321
+ 'has_archive ' => false ,
322
+ )
323
+ );
324
324
}
325
325
326
326
/**
0 commit comments