承接 foobugs-standards/php54to55 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

foobugs-standards/php54to55

Composer 安装命令:

composer require foobugs-standards/php54to55

包简介

Php54to55 tests PHP 5.4 application for 5.5 compatibility through PHP_CodeSniffer.

README 文档

README

This is a collection of sniffs for PHP_CodeSniffer that check an PHP 5.4 application for PHP 5.5 compatibility.

This project is currently under development

Build Status

Requirements

Requires at least PHP 5.3.2 but will not properly test trait names until PHP 5.4.0 or later.

It is suggested that you test compatibility with PHP 5.5 or newer in order to use the most up-to-date PHP parser/ tokenizer.

Features

  • Check for deprecated & removed functions (MySQL, mycrypt_*)
  • Check for /e modifier in regular expressions
  • Check for removed Constants (MySQL)
  • Check for setTimeZoneID or datefmt_set_timezone_id usage
  • Check for definitions of global functions which are new in PHP 5.5
  • Check for definitions of classes that have been added in PHP 5.5
  • Check for definitions of constants that have been added in PHP 5.5

Detailed feature list.

Usage

Add "foobugs-standards/php54to55": "~2" to your composer.json. For example

{
  "require": {
    "foobugs-standards/php54to55": "~2"
  }
}
composer install

# test full standard
vendor/bin/phpcs --standard=php54to55/ /path/to/code

# test a single sniff only
vendor/bin/phpcs --standard=php54to55 --sniffs=Php54to55.Deprecated.Functions /path/to/code

Versioning

The major version reflects PHP_Codesniffer version while minor version reflects the standard revision.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-04-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固