Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve main file #1207

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Improve main file #1207

wants to merge 4 commits into from

Conversation

szepeviktor
Copy link

@szepeviktor szepeviktor commented Nov 30, 2024

  • Depend on WC
  • Align meta headers in a multiline comment
  • Update License URI
  • Update Author URI
  • Move strict_types towards the first code line
  • Remove execute bit from many files

Please see https://developer.wordpress.org/plugins/plugin-basics/header-requirements/

You may add

 * WC tested up to: 0.0.0
 * WC requires at least: 0.0.0

from 2017

@szepeviktor szepeviktor requested a review from a team as a code owner November 30, 2024 12:24
@szepeviktor szepeviktor changed the title Fix main file Improve main file Nov 30, 2024
Comment on lines -26 to +27
require(plugin_dir_path(__FILE__) . 'vendor/autoload.php');
require plugin_dir_path(__FILE__) . 'vendor/autoload.php';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require is a statement, not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant