Skip to content

fix(php): put banner after php tag #3653

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
merged 2 commits into from
Sep 4, 2024
Merged

fix(php): put banner after php tag #3653

merged 2 commits into from
Sep 4, 2024

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Sep 4, 2024

🧭 What and Why

🎟 JIRA Ticket: DI-2878. closes algolia/algoliasearch-client-php#736

The banner must be after <?php. I checked all the files and this was the only one.

find . -name "*.php" -not -path "./clients/algoliasearch-client-php/vendor/*" -exec sh -c 'head -n 1 "$1" | grep -q "^<?php$" || echo "$1 does not start with <?php"' _ {} \;

@millotp millotp self-assigned this Sep 4, 2024
@millotp millotp requested a review from a team as a code owner September 4, 2024 15:19
@algolia-bot
Copy link
Collaborator

algolia-bot commented Sep 4, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 8bc2d54bd04a391a5a617b53ba1f55180c79df9f
🍃 Generated commit 34702fa8005e8b032f1a16f19b858cb85d10ba15
🌲 Generated branch generated/fix/php-banner
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
php 1490

@millotp millotp enabled auto-merge (squash) September 4, 2024 15:28
Copy link

github-actions bot commented Sep 4, 2024

@millotp millotp disabled auto-merge September 4, 2024 15:29
Copy link
Contributor

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

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

Nice and clean

@millotp millotp merged commit 365030a into main Sep 4, 2024
14 checks passed
@millotp millotp deleted the fix/php-banner branch September 4, 2024 16:02
algolia-bot added a commit that referenced this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: php 8.3
3 participants