-
Notifications
You must be signed in to change notification settings - Fork 0
Dev #1
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
Merged
Dev #1
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a66dd13
Init
eldadfux 62b4fa8
Add Kikobeats as a new source for free email domains and update domai…
eldadfux 7c0aed9
fixes to format
eldadfux 3c52d73
Update dependencies and refactor code for consistency and readability
eldadfux 88f35d7
Update last updated timestamps in domain files and adjust comment for…
eldadfux 3bdc14b
Add new disposable and free email domains, update last updated timest…
eldadfux 6020556
Remove unnecessary whitespace in Email.php for cleaner code formatting
eldadfux 73f5345
Update GitHub Actions workflows to use actions/checkout@v4 for improv…
eldadfux 0a6a373
Refactor Email class to support unique email normalization and add pr…
eldadfux a7da806
Remove
eldadfux c0588ce
Update GitHub Actions workflow to rename job from CodeQL to Composer …
eldadfux a54616f
Enhance Email class by introducing formatting constants and updating …
eldadfux 903f85e
Add additional email format constants to Email class for enhanced fle…
eldadfux 2e7b660
Comment out plus addressing and dots removal in email normalization p…
eldadfux 8ab64f5
Refactor Email class to implement canonical email normalization, repl…
eldadfux c9cb016
Enhance Email class by introducing a Domain instance for improved dom…
eldadfux 8fa5a6b
Refactor Email class and clean up test files by removing unnecessary …
eldadfux 72a1e4e
Update GitHub Actions workflows to use Composer 2.8 for improved depe…
eldadfux 46d190c
Enhance Email class by adding validation for the disposable domains d…
eldadfux 9abf985
Refactor Email class to improve code readability by adding whitespace…
eldadfux 4d32e60
Update composer.json to modify PHPStan check command and upgrade PHPS…
eldadfux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: "Composer Checks" | ||
|
|
||
| on: [pull_request] | ||
| jobs: | ||
| lint: | ||
| name: Composer Checks | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run Composer Checks | ||
| run: | | ||
| docker run --rm -v $PWD:/app composer:2.8 sh -c \ | ||
| "composer install --profile --ignore-platform-reqs && composer check" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: "Linter" | ||
|
|
||
| on: [pull_request] | ||
| jobs: | ||
| lint: | ||
| name: Linter | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run Linter | ||
| run: | | ||
| docker run --rm -v $PWD:/app composer:2.8 sh -c \ | ||
| "composer install --profile --ignore-platform-reqs && composer lint" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: "Tests" | ||
|
|
||
| on: [pull_request] | ||
| jobs: | ||
| test: | ||
| name: Tests ${{ matrix.php-versions }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| php-versions: ['8.1', '8.2', '8.3', 'nightly'] | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup PHP ${{ matrix.php-versions }} | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: ${{ matrix.php-versions }} | ||
|
|
||
| - name: Validate composer.json and composer.lock | ||
| run: composer validate --strict | ||
|
|
||
| - name: Compose install | ||
| run: composer install --ignore-platform-reqs | ||
|
|
||
| - name: Run tests | ||
| run: composer test | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,323 @@ | ||
| # Composer | ||
| /vendor/ | ||
| composer.phar | ||
| composer.lock | ||
|
|
||
| # IDE | ||
| .vscode/ | ||
| .idea/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Logs | ||
| *.log | ||
|
|
||
| # Runtime | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
|
|
||
| # Coverage directory used by tools like istanbul | ||
| coverage/ | ||
|
|
||
| # nyc test coverage | ||
| .nyc_output | ||
|
|
||
| # Dependency directories | ||
| node_modules/ | ||
|
|
||
| # Optional npm cache directory | ||
| .npm | ||
|
|
||
| # Optional REPL history | ||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variables file | ||
| .env | ||
| .env.test | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
| .cache | ||
| .parcel-cache | ||
|
|
||
| # next.js build output | ||
| .next | ||
|
|
||
| # nuxt.js build output | ||
| .nuxt | ||
|
|
||
| # vuepress build output | ||
| .vuepress/dist | ||
|
|
||
| # Serverless directories | ||
| .serverless | ||
|
|
||
| # FuseBox cache | ||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
| .dynamodb/ | ||
|
|
||
| # TernJS port file | ||
| .tern-port | ||
|
|
||
| # Stores VSCode versions used for testing VSCode extensions | ||
| .vscode-test | ||
|
|
||
| # Temporary folders | ||
| tmp/ | ||
| temp/ | ||
|
|
||
| # Build artifacts | ||
| build/ | ||
| dist/ | ||
|
|
||
| # PHPUnit | ||
| .phpunit.result.cache | ||
|
|
||
| # PHPStan | ||
| .phpstan.neon | ||
|
|
||
| # PHP CS Fixer | ||
| .php_cs.cache | ||
|
|
||
| # Laravel Pint | ||
| .php-cs-fixer.cache | ||
|
|
||
| # PHP_CodeSniffer | ||
| .phpcs.xml | ||
|
|
||
| # Psalm | ||
| psalm.xml | ||
| psalm-baseline.xml | ||
|
|
||
| # PHPUnit coverage | ||
| clover.xml | ||
| coverage.xml | ||
| coverage/ | ||
|
|
||
| # PHPUnit cache | ||
| .phpunit.result.cache | ||
|
|
||
| # PHPStan cache | ||
| .phpstan.cache | ||
|
|
||
| # PHP CS Fixer cache | ||
| .php_cs.cache | ||
|
|
||
| # Laravel Pint cache | ||
| .php-cs-fixer.cache | ||
|
|
||
| # PHP_CodeSniffer cache | ||
| .phpcs.cache | ||
|
|
||
| # Psalm cache | ||
| .psalm/ | ||
|
|
||
| # IDE files | ||
| .vscode/ | ||
| .idea/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS files | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Log files | ||
| *.log | ||
|
|
||
| # Runtime files | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
|
|
||
| # Coverage directory | ||
| coverage/ | ||
|
|
||
| # Dependency directories | ||
| node_modules/ | ||
|
|
||
| # Optional npm cache directory | ||
| .npm | ||
|
|
||
| # Optional REPL history | ||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variables file | ||
| .env | ||
| .env.test | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
| .cache | ||
| .parcel-cache | ||
|
|
||
| # next.js build output | ||
| .next | ||
|
|
||
| # nuxt.js build output | ||
| .nuxt | ||
|
|
||
| # vuepress build output | ||
| .vuepress/dist | ||
|
|
||
| # Serverless directories | ||
| .serverless | ||
|
|
||
| # FuseBox cache | ||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
| .dynamodb/ | ||
|
|
||
| # TernJS port file | ||
| .tern-port | ||
|
|
||
| # Stores VSCode versions used for testing VSCode extensions | ||
| .vscode-test | ||
|
|
||
| # Temporary folders | ||
| tmp/ | ||
| temp/ | ||
|
|
||
| # Build artifacts | ||
| build/ | ||
| dist/ | ||
|
|
||
| # PHPUnit | ||
| .phpunit.result.cache | ||
|
|
||
| # PHPStan | ||
| .phpstan.neon | ||
|
|
||
| # PHP CS Fixer | ||
| .php_cs.cache | ||
|
|
||
| # Laravel Pint | ||
| .php-cs-fixer.cache | ||
|
|
||
| # PHP_CodeSniffer | ||
| .phpcs.xml | ||
|
|
||
| # Psalm | ||
| psalm.xml | ||
| psalm-baseline.xml | ||
|
|
||
| # PHPUnit coverage | ||
| clover.xml | ||
| coverage.xml | ||
| coverage/ | ||
|
|
||
| # PHPUnit cache | ||
| .phpunit.result.cache | ||
|
|
||
| # PHPStan cache | ||
| .phpstan.cache | ||
|
|
||
| # PHP CS Fixer cache | ||
| .php_cs.cache | ||
|
|
||
| # Laravel Pint cache | ||
| .php-cs-fixer.cache | ||
|
|
||
| # PHP_CodeSniffer cache | ||
| .phpcs.cache | ||
|
|
||
| # Psalm cache | ||
| .psalm/ | ||
|
|
||
| # IDE files | ||
| .vscode/ | ||
| .idea/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS files | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Log files | ||
| *.log | ||
|
|
||
| # Runtime files | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
|
|
||
| # Coverage directory | ||
| coverage/ | ||
|
|
||
| # Dependency directories | ||
| node_modules/ | ||
|
|
||
| # Optional npm cache directory | ||
| .npm | ||
|
|
||
| # Optional REPL history | ||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variables file | ||
| .env | ||
| .env.test | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
| .cache | ||
| .parcel-cache | ||
|
|
||
| # next.js build output | ||
| .next | ||
|
|
||
| # nuxt.js build output | ||
| .nuxt | ||
|
|
||
| # vuepress build output | ||
| .vuepress/dist | ||
|
|
||
| # Serverless directories | ||
| .serverless | ||
|
|
||
| # FuseBox cache | ||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
| .dynamodb/ | ||
|
|
||
| # TernJS port file | ||
| .tern-port | ||
|
|
||
| # Stores VSCode versions used for testing VSCode extensions | ||
| .vscode-test | ||
|
|
||
| # Temporary folders | ||
| tmp/ | ||
| temp/ | ||
|
|
||
| # Build artifacts | ||
| build/ | ||
| dist/ | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove massive duplication in .gitignore.
The file contains the same ignore patterns repeated three times (lines 1-85, 86-204, 205-323). This appears to be a copy-paste error and should be consolidated to a single set of patterns.
Apply this fix to remove the duplication - keep only the first block (lines 1-85) and remove lines 86-323:
📝 Committable suggestion
🤖 Prompt for AI Agents