Skip to content

Commit b35342f

Browse files
rawilkactions-user
authored andcommitted
Prettified Code!
1 parent 799d83d commit b35342f

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

CHANGELOG.md

+50-50
Original file line numberDiff line numberDiff line change
@@ -6,139 +6,139 @@ All notable changes to `laravel-printing` will be documented in this file.
66

77
### What's Changed
88

9-
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/rawilk/laravel-printing/pull/41
10-
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/rawilk/laravel-printing/pull/51
11-
- Laravel 10.x compatiblity by @rawilk in https://github.com/rawilk/laravel-printing/pull/54
9+
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/rawilk/laravel-printing/pull/41
10+
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/rawilk/laravel-printing/pull/51
11+
- Laravel 10.x compatiblity by @rawilk in https://github.com/rawilk/laravel-printing/pull/54
1212

1313
**Full Changelog**: https://github.com/rawilk/laravel-printing/compare/v3.0.1...v3.0.2
1414

1515
## v3.0.1 - 2022-10-31
1616

1717
### Changed
1818

19-
- PHPUnit to Pest Converter by @rawilk in https://github.com/rawilk/laravel-printing/pull/31
20-
- Bump creyD/prettier_action from 3.0 to 4.2 by @dependabot in https://github.com/rawilk/laravel-printing/pull/38
21-
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rawilk/laravel-printing/pull/39
22-
- Composer: Update mike42/escpos-php requirement from ^3.0 to ^4.0 by @dependabot in https://github.com/rawilk/laravel-printing/pull/40
23-
- Update formatting throughout src
24-
- Use `spatie/laravel-package-tools` for service provider
25-
- Drop official support of PHP 8.0, however it should still run on that version
19+
- PHPUnit to Pest Converter by @rawilk in https://github.com/rawilk/laravel-printing/pull/31
20+
- Bump creyD/prettier_action from 3.0 to 4.2 by @dependabot in https://github.com/rawilk/laravel-printing/pull/38
21+
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rawilk/laravel-printing/pull/39
22+
- Composer: Update mike42/escpos-php requirement from ^3.0 to ^4.0 by @dependabot in https://github.com/rawilk/laravel-printing/pull/40
23+
- Update formatting throughout src
24+
- Use `spatie/laravel-package-tools` for service provider
25+
- Drop official support of PHP 8.0, however it should still run on that version
2626

2727
**Full Changelog**: https://github.com/rawilk/laravel-printing/compare/v3.0.0...v3.0.1
2828

2929
## 3.0.0 - 2022-02-15
3030

3131
### Added
3232

33-
- Add driver method for retrieving print jobs (**Breaking Change** to driver contract)
34-
- Add driver method for retrieving a specific print job (**Breaking Change** to driver contract)
35-
- Add driver method for retrieving a specific printer's print jobs (**Breaking Change** to driver contract)
36-
- Add driver method for retrieving a specific print job on a specific printer (**Breaking Change** to driver contract)
37-
- Add `printer()` method on PrintNode driver printer to access underlying PrintNode printer instance
38-
- Add `job()` method on PrintNode driver print job to access underlying PrintNode print job instance
39-
- Add a `printer` property on the PrintNode driver PrintJob class to access the printer instance
33+
- Add driver method for retrieving print jobs (**Breaking Change** to driver contract)
34+
- Add driver method for retrieving a specific print job (**Breaking Change** to driver contract)
35+
- Add driver method for retrieving a specific printer's print jobs (**Breaking Change** to driver contract)
36+
- Add driver method for retrieving a specific print job on a specific printer (**Breaking Change** to driver contract)
37+
- Add `printer()` method on PrintNode driver printer to access underlying PrintNode printer instance
38+
- Add `job()` method on PrintNode driver print job to access underlying PrintNode print job instance
39+
- Add a `printer` property on the PrintNode driver PrintJob class to access the printer instance
4040

4141
### Changed
4242

43-
- **Breaking Change:** Rename driver method `find()` to `printer()` for finding a specific printer
44-
- **Breaking Change:** Add required `$limit`, `$offset`, and `$dir` pagination params to driver `printers()` method
45-
- **Breaking Change:** Add `null|Carbon` return type to `PrintJob` contract `date()` method signature
46-
- Write our own internal api wrapper for PrintNode driver instead of relying on package `printnode/printnode-php` (available via `app(\Rawilk\Printing\Api\PrintNode\PrintNode::class)`)
47-
- Make `\Rawilk\Printing\Printing` macroable
48-
- Make `Rawilk\Printing\PrintTask` macroable
49-
- Make `Rawilk\Printing\Drivers\PrintNode\PrintNode` macroable
50-
- Make `Rawilk\Printing\Drivers\Cups\Cups` macroable
51-
- Make each concrete instance of `\Rawilk\Printing\Contracts\Printer` and `\Rawilk\Printing\Contracts\PrintJob` macroable
52-
- Make `\Rawilk\Printing\Receipts\ReceiptPrinter` macroable
43+
- **Breaking Change:** Rename driver method `find()` to `printer()` for finding a specific printer
44+
- **Breaking Change:** Add required `$limit`, `$offset`, and `$dir` pagination params to driver `printers()` method
45+
- **Breaking Change:** Add `null|Carbon` return type to `PrintJob` contract `date()` method signature
46+
- Write our own internal api wrapper for PrintNode driver instead of relying on package `printnode/printnode-php` (available via `app(\Rawilk\Printing\Api\PrintNode\PrintNode::class)`)
47+
- Make `\Rawilk\Printing\Printing` macroable
48+
- Make `Rawilk\Printing\PrintTask` macroable
49+
- Make `Rawilk\Printing\Drivers\PrintNode\PrintNode` macroable
50+
- Make `Rawilk\Printing\Drivers\Cups\Cups` macroable
51+
- Make each concrete instance of `\Rawilk\Printing\Contracts\Printer` and `\Rawilk\Printing\Contracts\PrintJob` macroable
52+
- Make `\Rawilk\Printing\Receipts\ReceiptPrinter` macroable
5353

5454
### Fixed
5555

56-
- Make `\Rawilk\Printing\Drivers\PrintNode\Entity\Printer` compatible with implemented `JsonSerializable` interface
57-
- Return a given PrintNode driver printer instance's jobs via the `jobs()` method
56+
- Make `\Rawilk\Printing\Drivers\PrintNode\Entity\Printer` compatible with implemented `JsonSerializable` interface
57+
- Return a given PrintNode driver printer instance's jobs via the `jobs()` method
5858

5959
### Updated
6060

61-
- Add support for Printnode PDF_Base64 ContentType ([#23](https://github.com/rawilk/laravel-printing/pull/23))
61+
- Add support for Printnode PDF_Base64 ContentType ([#23](https://github.com/rawilk/laravel-printing/pull/23))
6262

6363
## 2.0.0 - 2021-01-11
6464

6565
### Updated
6666

67-
- Add support for php 8
68-
- Drop support for php 7
69-
- Drop support for Laravel 6
70-
- Drop support for Laravel 7
71-
- Remove driver dependencies from always being required
72-
- Require user to pull in the driver dependencies for their drivers now
67+
- Add support for php 8
68+
- Drop support for php 7
69+
- Drop support for Laravel 6
70+
- Drop support for Laravel 7
71+
- Remove driver dependencies from always being required
72+
- Require user to pull in the driver dependencies for their drivers now
7373

7474
## 1.3.0 - 2020-09-13
7575

7676
### Added
7777

78-
- Add support for custom drivers
79-
- Add support for changing print drivers on the fly
78+
- Add support for custom drivers
79+
- Add support for changing print drivers on the fly
8080

8181
## 1.2.2 - 2020-09-08
8282

8383
### Added
8484

85-
- Add support for Laravel 8
85+
- Add support for Laravel 8
8686

8787
## 1.2.1 - 2020-09-04
8888

8989
### Fixed
9090

91-
- Fix page range issue with CUPS driver ([#3](https://github.com/rawilk/laravel-printing/issues/3)).
91+
- Fix page range issue with CUPS driver ([#3](https://github.com/rawilk/laravel-printing/issues/3)).
9292

9393
## 1.2.0 - 2020-09-02
9494

9595
### Added
9696

97-
- Add support for CUPS driver.
97+
- Add support for CUPS driver.
9898

9999
## 1.1.6 - 2020-07-23
100100

101101
### Changed
102102

103-
- Remove `int` parameter type hint on `PrintNodePrintJob` `id` setter.
103+
- Remove `int` parameter type hint on `PrintNodePrintJob` `id` setter.
104104

105105
## 1.1.5 - 2020-07-22
106106

107107
### Fixed
108108

109-
- Ensure `str_repeat` gets repeated at least once to avoid fatal error on `twoColumnText`.
109+
- Ensure `str_repeat` gets repeated at least once to avoid fatal error on `twoColumnText`.
110110

111111
## 1.1.4 - 2020-07-15
112112

113113
### Fixed
114114

115-
- Return the job id of a new print job with PrintNode ([#1](https://github.com/rawilk/laravel-printing/issues/1)).
115+
- Return the job id of a new print job with PrintNode ([#1](https://github.com/rawilk/laravel-printing/issues/1)).
116116

117117
## 1.1.3 - 2020-07-09
118118

119119
### Changed
120120

121-
- Add return type `string` to `id()` method on PrintNode Printer.
122-
- Add more method doc blocks to `ReceiptPrinter` for type hinting to underlying printer class.
121+
- Add return type `string` to `id()` method on PrintNode Printer.
122+
- Add more method doc blocks to `ReceiptPrinter` for type hinting to underlying printer class.
123123

124124
## 1.1.2 - 2020-07-08
125125

126126
### Fixed
127127

128-
- Fix strict type comparison when finding a printer with PrintNode driver.
128+
- Fix strict type comparison when finding a printer with PrintNode driver.
129129

130130
## 1.1.1 - 2020-07-08
131131

132132
### Changed
133133

134-
- Add method doc blocks to `Printing` facade for `defaultPrinterId()` and `defaultPrinter()`.
134+
- Add method doc blocks to `Printing` facade for `defaultPrinterId()` and `defaultPrinter()`.
135135

136136
## 1.1.0 - 2020-07-07
137137

138138
### Added
139139

140-
- Add support to cast `Printer` to an array or json.
140+
- Add support to cast `Printer` to an array or json.
141141

142142
## 1.0.0 - 2020-06-26
143143

144-
- Initial release
144+
- Initial release

docs/requirements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ sort: 2
3333
| 7.0 | 1.0.0 | 1.3.0 |
3434
| 8.0 | 1.2.2 | |
3535
| 9.0 | 3.0.0 | |
36-
| 10.0 | 3.0.2 | |
36+
| 10.0 | 3.0.2 | |

0 commit comments

Comments
 (0)