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

Create HaloModule #14

Merged
merged 50 commits into from
Apr 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
cb16aec
Create fake app
koriym Jan 7, 2023
9f4e879
Create HaloModule
koriym Jan 7, 2023
8fd60b8
Save serve runConfigurations
koriym Jan 8, 2023
d083cd8
Require bear/qiq-module in dev
koriym Jan 8, 2023
6f7457f
Create hal enable switch
koriym Jan 8, 2023
973b265
Refactor
koriym Jan 8, 2023
1b25c4b
Support Qiq template edit
koriym Jan 8, 2023
c1941dc
Soothe SA
koriym Jan 9, 2023
9fe2da0
Find twig template
koriym Jan 9, 2023
5e27fa0
Save serve command
koriym Jan 10, 2023
b300819
Add Halo module to README
koriym Jan 10, 2023
97ac5cf
Run all tests with no error
koriym Jan 10, 2023
8a58388
fixup! Save serve command
koriym Jan 10, 2023
464e568
Drop php 7.x CI test
koriym Jan 10, 2023
56bb1a2
fixup! Run all tests with no error
koriym Jan 10, 2023
c4a0a2f
Remove else
koriym Jan 10, 2023
ee919e3
Soothe require-checker
koriym Jan 10, 2023
da0f6ec
fixup! Drop php 7.x CI test
koriym Jan 10, 2023
454f210
fixup! fixup! Drop php 7.x CI test
koriym Jan 10, 2023
0139703
Add xhprof
koriym Jan 13, 2023
157439f
Composer update
koriym Jan 13, 2023
56adc75
Move ext-xhprof
koriym Jan 13, 2023
8b0d07c
Install xhprof on CI
koriym Jan 13, 2023
af45ee4
Soothe phpstan
koriym Jan 13, 2023
bba9ce5
Soothe psalm
koriym Jan 13, 2023
698c374
Increase code coverage
koriym Jan 13, 2023
f910f17
Update continuous-integration.yml
koriym Jan 13, 2023
11e1ac4
fixup! Increase code coverage
koriym Jan 13, 2023
6c644b4
Update codecov
koriym Jan 13, 2023
5c9b1c5
Soothe sa
koriym Jul 26, 2023
6676a21
Add composer halo command
koriym Jul 26, 2023
64ef32e
composer update
koriym Jul 26, 2023
1eaf50e
fixup! Soothe sa
koriym Jul 26, 2023
2aad994
fixup! Find twig template
koriym Jul 26, 2023
8f43546
fixup! Move ext-xhprof
koriym Jul 26, 2023
d62c50a
Replace http server with koriym/php-server
koriym Jul 26, 2023
8a6ece9
Remove deleted longxinh/xhprof
koriym Aug 24, 2023
76749fd
Merge branch 'master' into halo
koriym Apr 19, 2024
e10074a
Update PHP versions in GitHub workflows
koriym Apr 19, 2024
05629bf
Update composer dependencies and versions
koriym Apr 19, 2024
ef2d480
Ignore PHPStan check on XHProf line
koriym Apr 19, 2024
6bb37f8
fixup! Update PHP versions in GitHub workflows
koriym Apr 19, 2024
a2daf37
fixup! fixup! Update PHP versions in GitHub workflows
koriym Apr 19, 2024
c918c31
Add composer-require-checker.json file
koriym Apr 19, 2024
3860c39
fixup! Add composer-require-checker.json file
koriym Apr 20, 2024
6234c2c
Refactor code and update coding standard
koriym Apr 20, 2024
2d01e8b
Update composer.json: Add "xhprof/xhprof" dependency
koriym Apr 20, 2024
c0a69c4
fixup! Update composer.json: Add "xhprof/xhprof" dependency
koriym Apr 20, 2024
d44c7aa
Update halo rendering logic and conditions
koriym Apr 20, 2024
9e81d1d
Add Halo handling to HaloRenderer and tests
koriym Apr 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ignore PHPStan check on XHProf line
Added PHPStan ignore comment to the XHProf profile saving line in DevInvoker.php. This change ensures that PHPStan does not inspect this line
koriym committed Apr 19, 2024
commit ef2d480ccb0ec447ccb234c0a9a904c4db3aad8a
2 changes: 1 addition & 1 deletion src/DevInvoker.php
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ private function devInvoke(ResourceObject $resource, AbstractRequest $request):
$resource->headers[self::HEADER_MEMORY_USAGE] = (string) (memory_get_usage() - $memory);
if (extension_loaded('xhprof')) {
$xhprof = xhprof_disable();
$profileId = (new XHProfRuns_Default(sys_get_temp_dir()))->save_run($xhprof, 'resource');
$profileId = (new XHProfRuns_Default(sys_get_temp_dir()))->save_run($xhprof, 'resource'); // @phpstan-ignore-line
$resource->headers[self::HEADER_PROFILE_ID] = $profileId;
}