@@ -45,11 +45,11 @@ protected function configure(): void {
4545 $ this ->setName ('calendar:import ' )
4646 ->setDescription ('Import calendar data to supported calendars from disk or stdin ' )
4747 ->addArgument ('uid ' , InputArgument::REQUIRED , 'Id of system user ' )
48- ->addArgument ('uri ' , InputArgument::REQUIRED , 'Uri of calendar ' )
48+ ->addArgument ('uri ' , InputArgument::REQUIRED , 'URI of calendar ' )
4949 ->addArgument ('location ' , InputArgument::OPTIONAL , 'Location to read the input from, defaults to stdin. ' )
5050 ->addOption ('format ' , null , InputOption::VALUE_REQUIRED , 'Format of input (ical, jcal, xcal) defaults to ical ' , 'ical ' )
51- ->addOption ('errors ' , null , InputOption::VALUE_REQUIRED , 'how to handel item errors (0 - continue, 1 - fail) ' )
52- ->addOption ('validation ' , null , InputOption::VALUE_REQUIRED , 'how to handel item validation (0 - no validation, 1 - validate and skip on issue, 2 - validate and fail on issue) ' )
51+ ->addOption ('errors ' , null , InputOption::VALUE_REQUIRED , 'how to handle item errors (0 - continue, 1 - fail) ' )
52+ ->addOption ('validation ' , null , InputOption::VALUE_REQUIRED , 'how to handle item validation (0 - no validation, 1 - validate and skip on issue, 2 - validate and fail on issue) ' )
5353 ->addOption ('supersede ' , null , InputOption::VALUE_NONE , 'override/replace existing items ' )
5454 ->addOption ('show-created ' , null , InputOption::VALUE_NONE , 'show all created items after processing ' )
5555 ->addOption ('show-updated ' , null , InputOption::VALUE_NONE , 'show all updated items after processing ' )
@@ -103,7 +103,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
103103 if ($ location !== null ) {
104104 $ input = fopen ($ location , 'r ' );
105105 if ($ input === false ) {
106- throw new InvalidArgumentException ("Location < $ location> is not valid. Can not open location for read operation. " );
106+ throw new InvalidArgumentException ("Location < $ location> is not valid. Cannot open location for read operation. " );
107107 }
108108 try {
109109 $ outcome = $ this ->importService ->import ($ input , $ calendar , $ options );
@@ -113,7 +113,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
113113 } else {
114114 $ input = fopen ('php://stdin ' , 'r ' );
115115 if ($ input === false ) {
116- throw new InvalidArgumentException ('Can not open stdin for read operation. ' );
116+ throw new InvalidArgumentException ('Cannot open stdin for read operation. ' );
117117 }
118118 try {
119119 $ tempPath = $ this ->tempManager ->getTemporaryFile ();
0 commit comments