Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:43:36+00:00 2026-06-02T10:43:36+00:00

I like automated checks on my codebase to make sure I’m not violating style

  • 0

I like automated checks on my codebase to make sure I’m not violating style guidelines. When I worked in Perl, I would use Perl::Critic to check my style, and Test::Perl::Critic::Progressive to grandfather in any existing violations, so I could apply it to existing codebases.

Now I find myself on a PHP project. PHP CodeSniffer seems like the tool of choice in the community, but I don’t see any sort of progressive mode on it.

Is There a “Progressive” mode for any PHP Style checker?

(“Progressive” checking first captures a list of all existing violations, then prevents them from showing up in subsequent check runs. This means that existing violations are allowed to stay, but new ones are not allowed to be added.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:43:37+00:00Added an answer on June 2, 2026 at 10:43 am

    As you’ve found out the de-facto PHP style-checker is PHP CodeSniffer. That one does not support a progressive mode.

    However, running that one with grep on the commandline is trivial so that you can start with errors and then care about warnings “progressively” at a later stage of progress.

    Codesniffer integration in Eclipse (Screenshot and links) is also nice and would allow you to do something similar but just from within the IDE.

    If you need something similar with not only style-checks, you can try the PHPStorm IDE which has something similar with code-inspections and allows you to differ between types of inspections and their levels. It additionally allows you to re-format your code according to your style which should help you to get the code-base into order quickly and effectively.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to setup some automated testing of test cases upon Fortran binaries
I'd like to use PowerShell as part of our automated build process to update
I'm working on a file management system and would like to include an automated
What tools do you use for automated code sanity checks and adhering to the
I would like to write some scripts in python that do some automated changes
We've got a WPF app we'd like to run automated smoke tests on it.
I'd like to come up with some automated tests to validate my servers handling
I'd like to know if there is an automated method to add e-mail settings
I would like to automate the creation of symbolic links on my laptops from
I would like to automate SchemaSpy as part of a nightly build against a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.